Skip to main content

CDocBuilderValue

Class used by ONLYOFFICE Document Builder for getting the results of called JS commands. It represents a wrapper for a JS object.

Syntax

class CDocBuilderValue

Instance Methods

MethodDescription
CallCalls the specified Document Builder method.
ClearClears the object.
CreateInstanceCreates an instance of the CDocBuilderValue class.
GetReturns an array value by its index.
GetLengthReturns the length if this object is an array/typed array.
GetPropertyReturns a property of this object.
IsArrayReturns true if this object is an array.
IsBoolReturns true if this object is a boolean value.
IsDoubleReturns true if this object is a double value.
IsEmptyReturns true if this object is empty.
IsFunctionReturns true if this object is a function.
IsIntReturns true if this object is an integer.
IsNullReturns true if this object is null.
IsObjectReturns true if this object is an object.
IsStringReturns true if this object is a string.
IsTypedArrayReturns true if this object is a typed array.
IsUndefinedReturns true if this object is undefined.
SetSets an array value by its index.
SetPropertySets a property to this object.
ToBoolConverts this object to a boolean value.
ToDoubleConverts this object to a double value.
ToIntConverts this object to an integer.
ToStringConverts this object to a string.